var React = require('react');
var Panel = require('./Panel');

module.exports = React.createClass({
	displayName:'Page',
	getInitialState:function(){
		return {

		}
	},
	componentDidMount:function(){

	},
	render:function(){
		return (
			<Panel
				icon={this.props.icon}
				title={this.props.title}
				hHeight={this.props.hHeight||35}
				fHeight={this.props.fHeight}
				hStyle={this.props.hStyle}
				toolbarItems={this.props.toolbarItems}
				toolbarItemFloatDirection={this.props.toolbarItemFloatDirection}
				mode={this.props.mode||'fixed'}>
				{this.props.children}
			</Panel>
		);
	}
});
